const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const sectorSchema = new mongoose.Schema({
    name: {
        type: String,
        unique: true
    },
    code: {
        type: String,
        unique: true
    },
    news: {
        type: String
    }
},{
    strict: false
});

module.exports = mongoose.model('Sector', sectorSchema);
